﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XS.Tunnel.Cad.Cmd.Dto
{
    public class TemporaryForepole
    {
        public DarkHoleParamClassificationOutput Item { get; set; }


    }



    /// <summary>
    /// 参数分类
    /// </summary>
    public class DarkHoleParamClassificationOutput
    {
        public List<DarkHoleBaseParamItem> condition { get; set; } = new List<DarkHoleBaseParamItem>();
        public List<DarkHoleBaseParamItem> parameters { get; set; } = new List<DarkHoleBaseParamItem>();

    }


    public class DarkHoleBaseParamItem
    {


        public DarkHoleBaseParamItem()
        {

        }


        /// <summary>
        /// 参数id
        /// </summary>
        public string id { get; set; }
        /// <summary>
        /// 参数名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 参数编码
        /// </summary>
        public string code { get; set; }
        /// <summary>
        /// 参数值
        /// </summary>
        public string value { get; set; }
        /// <summary>
        /// 扩展信息
        /// </summary>
        public string extendInfo { get; set; }
        /// <summary>
        /// 参数类型（1 布尔型，2 整数，3 数字，4 字符串，5 下拉选项，6 数据字典，7 材料规格）
        /// </summary>
        public int type { get; set; }

        /// <summary>
        /// 材料
        /// </summary>
        public MaterialOutput Materia { get; set; }
    }


    /// <summary>
    /// 材料
    /// </summary>
    public class MaterialOutput
    {
        /// <summary>
        /// 材料id
        /// </summary>
        public string productId { get; set; }

        /// <summary>
        /// 材料规格
        /// </summary>
        public string productSpecification { get; set; }

        /// <summary>
        /// 材料型号
        /// </summary>
        public string productModel { get; set; }

        /// <summary>
        /// 材料重量
        /// </summary>
        public decimal? productWeight { get; set; }

        /// <summary>
        /// 规格json
        /// </summary>
        public string productJsonSpecification { get; set; }

        /// <summary>
        /// 规格json显示
        /// </summary>
        public string productSpecificationDisplay { get; set; }

        /// <summary>
        /// 属性json
        /// </summary>
        public string productJsonAttribute { get; set; }

        /// <summary>
        /// 属性json显示
        /// </summary>
        public string productAttributeDisplay { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string specificationRemark { get; set; }
        /// <summary>
        /// 材料规格类别
        /// </summary>
        public string specificationType { get; set; }


    }

}
